﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLL;

namespace CorporateGymManagementSystem
{
    public class MessageDateComparer : IComparer<Message>
    {
        public int Compare(Message x, Message y)
        {
            return -1 * x.CreateTime.CompareTo(y.CreateTime);
        }
    }
}
